Optimal. Leaf size=126 \[ -\frac {5 a^3 B x \sqrt {a+b x^2}}{128 b}-\frac {5 a^2 B x \left (a+b x^2\right )^{3/2}}{192 b}-\frac {a B x \left (a+b x^2\right )^{5/2}}{48 b}+\frac {(8 A+7 B x) \left (a+b x^2\right )^{7/2}}{56 b}-\frac {5 a^4 B \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{128 b^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 126, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 4, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {794, 201, 223,
212} \begin {gather*} -\frac {5 a^4 B \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{128 b^{3/2}}-\frac {5 a^3 B x \sqrt {a+b x^2}}{128 b}-\frac {5 a^2 B x \left (a+b x^2\right )^{3/2}}{192 b}+\frac {\left (a+b x^2\right )^{7/2} (8 A+7 B x)}{56 b}-\frac {a B x \left (a+b x^2\right )^{5/2}}{48 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 201
Rule 212
Rule 223
Rule 794
Rubi steps
\begin {align*} \int x (A+B x) \left (a+b x^2\right )^{5/2} \, dx &=\frac {(8 A+7 B x) \left (a+b x^2\right )^{7/2}}{56 b}-\frac {(a B) \int \left (a+b x^2\right )^{5/2} \, dx}{8 b}\\ &=-\frac {a B x \left (a+b x^2\right )^{5/2}}{48 b}+\frac {(8 A+7 B x) \left (a+b x^2\right )^{7/2}}{56 b}-\frac {\left (5 a^2 B\right ) \int \left (a+b x^2\right )^{3/2} \, dx}{48 b}\\ &=-\frac {5 a^2 B x \left (a+b x^2\right )^{3/2}}{192 b}-\frac {a B x \left (a+b x^2\right )^{5/2}}{48 b}+\frac {(8 A+7 B x) \left (a+b x^2\right )^{7/2}}{56 b}-\frac {\left (5 a^3 B\right ) \int \sqrt {a+b x^2} \, dx}{64 b}\\ &=-\frac {5 a^3 B x \sqrt {a+b x^2}}{128 b}-\frac {5 a^2 B x \left (a+b x^2\right )^{3/2}}{192 b}-\frac {a B x \left (a+b x^2\right )^{5/2}}{48 b}+\frac {(8 A+7 B x) \left (a+b x^2\right )^{7/2}}{56 b}-\frac {\left (5 a^4 B\right ) \int \frac {1}{\sqrt {a+b x^2}} \, dx}{128 b}\\ &=-\frac {5 a^3 B x \sqrt {a+b x^2}}{128 b}-\frac {5 a^2 B x \left (a+b x^2\right )^{3/2}}{192 b}-\frac {a B x \left (a+b x^2\right )^{5/2}}{48 b}+\frac {(8 A+7 B x) \left (a+b x^2\right )^{7/2}}{56 b}-\frac {\left (5 a^4 B\right ) \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x}{\sqrt {a+b x^2}}\right )}{128 b}\\ &=-\frac {5 a^3 B x \sqrt {a+b x^2}}{128 b}-\frac {5 a^2 B x \left (a+b x^2\right )^{3/2}}{192 b}-\frac {a B x \left (a+b x^2\right )^{5/2}}{48 b}+\frac {(8 A+7 B x) \left (a+b x^2\right )^{7/2}}{56 b}-\frac {5 a^4 B \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{128 b^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.31, size = 118, normalized size = 0.94 \begin {gather*} \frac {\sqrt {b} \sqrt {a+b x^2} \left (48 b^3 x^6 (8 A+7 B x)+3 a^3 (128 A+35 B x)+8 a b^2 x^4 (144 A+119 B x)+2 a^2 b x^2 (576 A+413 B x)\right )+105 a^4 B \log \left (-\sqrt {b} x+\sqrt {a+b x^2}\right )}{2688 b^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.12, size = 108, normalized size = 0.86
method | result | size |
default | \(B \left (\frac {x \left (b \,x^{2}+a \right )^{\frac {7}{2}}}{8 b}-\frac {a \left (\frac {x \left (b \,x^{2}+a \right )^{\frac {5}{2}}}{6}+\frac {5 a \left (\frac {x \left (b \,x^{2}+a \right )^{\frac {3}{2}}}{4}+\frac {3 a \left (\frac {x \sqrt {b \,x^{2}+a}}{2}+\frac {a \ln \left (x \sqrt {b}+\sqrt {b \,x^{2}+a}\right )}{2 \sqrt {b}}\right )}{4}\right )}{6}\right )}{8 b}\right )+\frac {A \left (b \,x^{2}+a \right )^{\frac {7}{2}}}{7 b}\) | \(108\) |
risch | \(\frac {\left (336 B \,b^{3} x^{7}+384 A \,b^{3} x^{6}+952 B a \,b^{2} x^{5}+1152 a A \,b^{2} x^{4}+826 B \,a^{2} b \,x^{3}+1152 a^{2} A b \,x^{2}+105 B \,a^{3} x +384 a^{3} A \right ) \sqrt {b \,x^{2}+a}}{2688 b}-\frac {5 B \,a^{4} \ln \left (x \sqrt {b}+\sqrt {b \,x^{2}+a}\right )}{128 b^{\frac {3}{2}}}\) | \(113\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 105, normalized size = 0.83 \begin {gather*} \frac {{\left (b x^{2} + a\right )}^{\frac {7}{2}} B x}{8 \, b} - \frac {{\left (b x^{2} + a\right )}^{\frac {5}{2}} B a x}{48 \, b} - \frac {5 \, {\left (b x^{2} + a\right )}^{\frac {3}{2}} B a^{2} x}{192 \, b} - \frac {5 \, \sqrt {b x^{2} + a} B a^{3} x}{128 \, b} - \frac {5 \, B a^{4} \operatorname {arsinh}\left (\frac {b x}{\sqrt {a b}}\right )}{128 \, b^{\frac {3}{2}}} + \frac {{\left (b x^{2} + a\right )}^{\frac {7}{2}} A}{7 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.80, size = 253, normalized size = 2.01 \begin {gather*} \left [\frac {105 \, B a^{4} \sqrt {b} \log \left (-2 \, b x^{2} + 2 \, \sqrt {b x^{2} + a} \sqrt {b} x - a\right ) + 2 \, {\left (336 \, B b^{4} x^{7} + 384 \, A b^{4} x^{6} + 952 \, B a b^{3} x^{5} + 1152 \, A a b^{3} x^{4} + 826 \, B a^{2} b^{2} x^{3} + 1152 \, A a^{2} b^{2} x^{2} + 105 \, B a^{3} b x + 384 \, A a^{3} b\right )} \sqrt {b x^{2} + a}}{5376 \, b^{2}}, \frac {105 \, B a^{4} \sqrt {-b} \arctan \left (\frac {\sqrt {-b} x}{\sqrt {b x^{2} + a}}\right ) + {\left (336 \, B b^{4} x^{7} + 384 \, A b^{4} x^{6} + 952 \, B a b^{3} x^{5} + 1152 \, A a b^{3} x^{4} + 826 \, B a^{2} b^{2} x^{3} + 1152 \, A a^{2} b^{2} x^{2} + 105 \, B a^{3} b x + 384 \, A a^{3} b\right )} \sqrt {b x^{2} + a}}{2688 \, b^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 27.21, size = 354, normalized size = 2.81 \begin {gather*} A a^{2} \left (\begin {cases} \frac {\sqrt {a} x^{2}}{2} & \text {for}\: b = 0 \\\frac {\left (a + b x^{2}\right )^{\frac {3}{2}}}{3 b} & \text {otherwise} \end {cases}\right ) + 2 A a b \left (\begin {cases} - \frac {2 a^{2} \sqrt {a + b x^{2}}}{15 b^{2}} + \frac {a x^{2} \sqrt {a + b x^{2}}}{15 b} + \frac {x^{4} \sqrt {a + b x^{2}}}{5} & \text {for}\: b \neq 0 \\\frac {\sqrt {a} x^{4}}{4} & \text {otherwise} \end {cases}\right ) + A b^{2} \left (\begin {cases} \frac {8 a^{3} \sqrt {a + b x^{2}}}{105 b^{3}} - \frac {4 a^{2} x^{2} \sqrt {a + b x^{2}}}{105 b^{2}} + \frac {a x^{4} \sqrt {a + b x^{2}}}{35 b} + \frac {x^{6} \sqrt {a + b x^{2}}}{7} & \text {for}\: b \neq 0 \\\frac {\sqrt {a} x^{6}}{6} & \text {otherwise} \end {cases}\right ) + \frac {5 B a^{\frac {7}{2}} x}{128 b \sqrt {1 + \frac {b x^{2}}{a}}} + \frac {133 B a^{\frac {5}{2}} x^{3}}{384 \sqrt {1 + \frac {b x^{2}}{a}}} + \frac {127 B a^{\frac {3}{2}} b x^{5}}{192 \sqrt {1 + \frac {b x^{2}}{a}}} + \frac {23 B \sqrt {a} b^{2} x^{7}}{48 \sqrt {1 + \frac {b x^{2}}{a}}} - \frac {5 B a^{4} \operatorname {asinh}{\left (\frac {\sqrt {b} x}{\sqrt {a}} \right )}}{128 b^{\frac {3}{2}}} + \frac {B b^{3} x^{9}}{8 \sqrt {a} \sqrt {1 + \frac {b x^{2}}{a}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.75, size = 114, normalized size = 0.90 \begin {gather*} \frac {5 \, B a^{4} \log \left ({\left | -\sqrt {b} x + \sqrt {b x^{2} + a} \right |}\right )}{128 \, b^{\frac {3}{2}}} + \frac {1}{2688} \, {\left (\frac {384 \, A a^{3}}{b} + {\left (\frac {105 \, B a^{3}}{b} + 2 \, {\left (576 \, A a^{2} + {\left (413 \, B a^{2} + 4 \, {\left (144 \, A a b + {\left (119 \, B a b + 6 \, {\left (7 \, B b^{2} x + 8 \, A b^{2}\right )} x\right )} x\right )} x\right )} x\right )} x\right )} x\right )} \sqrt {b x^{2} + a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x\,{\left (b\,x^2+a\right )}^{5/2}\,\left (A+B\,x\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________